Skip to main content

until

Type​

keyword

Summary​

Used with the repeat control structure to specify that the loop is to repeat until the specified conndition becomes true.

Syntax​

until

Description​

Use the until keyword to repeat a sequence of statements until a condition becomes true.

LiveCode evaluates the condition each time the loop repeats, at the top of the loop (before the statements in the repeat structure are executed). If the condition is true, the loop is skipped and execution resumes with the statement after the end repeat statement.

If the condition is already true when LiveCode reaches the repeat statement, the loop is not executed at all.

Examples​

repeat until the seconds >= tTimeToStop

control structure: repeat

glossary: keyword, statement, loop, control structure, execute

keyword: forever, for, end repeat

Compatibility and Support​

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?